[INFO] fetching crate wechaty_puppet 0.1.0-beta.1...
[INFO] checking wechaty_puppet-0.1.0-beta.1 against master#4eb62535fc12dd1a63fd43a4173e224e79313c4d for pr-158816
[INFO] extracting crate wechaty_puppet 0.1.0-beta.1 into /workspace/builds/worker-4-tc1/source
[INFO] started tweaking crates.io crate wechaty_puppet 0.1.0-beta.1
[INFO] finished tweaking crates.io crate wechaty_puppet 0.1.0-beta.1
[INFO] tweaked toml for crates.io crate wechaty_puppet 0.1.0-beta.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate wechaty_puppet 0.1.0-beta.1 on toolchain 4eb62535fc12dd1a63fd43a4173e224e79313c4d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]      Locking 70 packages to latest compatible versions
[INFO] [stderr]       Adding actix v0.11.1 (available: v0.13.5)
[INFO] [stderr]       Adding lru v0.6.6 (available: v0.18.0)
[INFO] [stderr]       Adding num-derive v0.3.3 (available: v0.4.2)
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded num-derive v0.3.3
[INFO] [stderr]   Downloaded lru v0.6.6
[INFO] [stderr]   Downloaded file-box v0.1.0-beta.0
[INFO] [stderr]   Downloaded crossbeam-channel v0.5.16
[INFO] [stderr]   Downloaded actix_derive v0.6.2
[INFO] [stderr]   Downloaded actix-rt v2.11.0
[INFO] [stderr]   Downloaded actix v0.11.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d5ced03c013a94a2f102a4510f48a6e9184255caf5fd8244f58017bde7f5210" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 94fe6eb7fcc3eac0a849ba47fb00f5445d1ab661c70e707956c1aa52aa88352d
[INFO] running `Command { std: "docker" "start" "94fe6eb7fcc3eac0a849ba47fb00f5445d1ab661c70e707956c1aa52aa88352d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94fe6eb7fcc3eac0a849ba47fb00f5445d1ab661c70e707956c1aa52aa88352d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94fe6eb7fcc3eac0a849ba47fb00f5445d1ab661c70e707956c1aa52aa88352d" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "94fe6eb7fcc3eac0a849ba47fb00f5445d1ab661c70e707956c1aa52aa88352d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "94fe6eb7fcc3eac0a849ba47fb00f5445d1ab661c70e707956c1aa52aa88352d" "/opt/rustwide/cargo-home/bin/cargo" "+4eb62535fc12dd1a63fd43a4173e224e79313c4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]     Checking slab v0.4.12
[INFO] [stderr]     Checking futures-channel v0.3.32
[INFO] [stderr]     Checking futures-io v0.3.32
[INFO] [stderr]     Checking futures-task v0.3.32
[INFO] [stderr]    Compiling crossbeam-utils v0.8.22
[INFO] [stderr]    Compiling syn v1.0.109
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking ahash v0.7.8
[INFO] [stderr]     Checking log v0.4.33
[INFO] [stderr]    Compiling syn v2.0.118
[INFO] [stderr]     Checking file-box v0.1.0-beta.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking parking_lot_core v0.8.6
[INFO] [stderr]     Checking parking_lot v0.11.2
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking hashbrown v0.11.2
[INFO] [stderr]     Checking crossbeam-channel v0.5.16
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]     Checking lru v0.6.6
[INFO] [stderr]    Compiling num-derive v0.3.3
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling actix_derive v0.6.2
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking actix-rt v2.11.0
[INFO] [stderr]     Checking tokio-util v0.6.10
[INFO] [stderr]     Checking tokio-stream v0.1.18
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking futures-executor v0.3.32
[INFO] [stderr]     Checking actix v0.11.1
[INFO] [stderr]     Checking futures v0.3.32
[INFO] [stderr]     Checking wechaty_puppet v0.1.0-beta.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/contact.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ContactGender`
[INFO] [stdout] 5 | #[repr(i32)]
[INFO] [stdout] 6 | pub enum ContactGender {
[INFO] [stdout]   |          ------------- `ContactGender` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schemas/contact.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ContactType`
[INFO] [stdout] 13 | #[repr(i32)]
[INFO] [stdout] 14 | pub enum ContactType {
[INFO] [stdout]    |          ----------- `ContactType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/event.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ScanStatus`
[INFO] [stdout] 6 | #[repr(i32)]
[INFO] [stdout] 7 | pub enum ScanStatus {
[INFO] [stdout]   |          ---------- `ScanStatus` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/friendship.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FriendshipType`
[INFO] [stdout] 4 | #[repr(i32)]
[INFO] [stdout] 5 | pub enum FriendshipType {
[INFO] [stdout]   |          -------------- `FriendshipType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schemas/friendship.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FriendshipSceneType`
[INFO] [stdout] 14 | #[repr(i32)]
[INFO] [stdout] 15 | pub enum FriendshipSceneType {
[INFO] [stdout]    |          ------------------- `FriendshipSceneType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/image.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, FromPrimitive, ToPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ImageType`
[INFO] [stdout] 5 | #[repr(i32)]
[INFO] [stdout] 6 | pub enum ImageType {
[INFO] [stdout]   |          --------- `ImageType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/image.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, FromPrimitive, ToPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                                  ^----------
[INFO] [stdout]   |                                                  |
[INFO] [stdout]   |                                                  `ToPrimitive` is not local
[INFO] [stdout]   |                                                  move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ImageType`
[INFO] [stdout] 5 | #[repr(i32)]
[INFO] [stdout] 6 | pub enum ImageType {
[INFO] [stdout]   |          --------- `ImageType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/message.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageType`
[INFO] [stdout] 5 | #[repr(i32)]
[INFO] [stdout] 6 | pub enum MessageType {
[INFO] [stdout]   |          ----------- `MessageType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schemas/message.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WechatAppMessageType`
[INFO] [stdout] 26 | #[repr(i32)]
[INFO] [stdout] 27 | pub enum WechatAppMessageType {
[INFO] [stdout]    |          -------------------- `WechatAppMessageType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schemas/message.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WechatMessageType`
[INFO] [stdout] 50 | #[repr(i32)]
[INFO] [stdout] 51 | pub enum WechatMessageType {
[INFO] [stdout]    |          ----------------- `WechatMessageType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/payload.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PayloadType`
[INFO] [stdout] 4 | #[repr(i32)]
[INFO] [stdout] 5 | pub enum PayloadType {
[INFO] [stdout]   |          ----------- `PayloadType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/contact.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ContactGender`
[INFO] [stdout] 5 | #[repr(i32)]
[INFO] [stdout] 6 | pub enum ContactGender {
[INFO] [stdout]   |          ------------- `ContactGender` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: `#[warn(non_local_definitions)]` on by default
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schemas/contact.rs:12:35
[INFO] [stdout]    |
[INFO] [stdout] 12 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ContactType`
[INFO] [stdout] 13 | #[repr(i32)]
[INFO] [stdout] 14 | pub enum ContactType {
[INFO] [stdout]    |          ----------- `ContactType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/event.rs:5:35
[INFO] [stdout]   |
[INFO] [stdout] 5 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ScanStatus`
[INFO] [stdout] 6 | #[repr(i32)]
[INFO] [stdout] 7 | pub enum ScanStatus {
[INFO] [stdout]   |          ---------- `ScanStatus` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/friendship.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FriendshipType`
[INFO] [stdout] 4 | #[repr(i32)]
[INFO] [stdout] 5 | pub enum FriendshipType {
[INFO] [stdout]   |          -------------- `FriendshipType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schemas/friendship.rs:13:35
[INFO] [stdout]    |
[INFO] [stdout] 13 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_FriendshipSceneType`
[INFO] [stdout] 14 | #[repr(i32)]
[INFO] [stdout] 15 | pub enum FriendshipSceneType {
[INFO] [stdout]    |          ------------------- `FriendshipSceneType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/image.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, FromPrimitive, ToPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_ImageType`
[INFO] [stdout] 5 | #[repr(i32)]
[INFO] [stdout] 6 | pub enum ImageType {
[INFO] [stdout]   |          --------- `ImageType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/image.rs:4:50
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, FromPrimitive, ToPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                                  ^----------
[INFO] [stdout]   |                                                  |
[INFO] [stdout]   |                                                  `ToPrimitive` is not local
[INFO] [stdout]   |                                                  move the `impl` block outside of this constant `_IMPL_NUM_ToPrimitive_FOR_ImageType`
[INFO] [stdout] 5 | #[repr(i32)]
[INFO] [stdout] 6 | pub enum ImageType {
[INFO] [stdout]   |          --------- `ImageType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `ToPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `ToPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `ToPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/message.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_MessageType`
[INFO] [stdout] 5 | #[repr(i32)]
[INFO] [stdout] 6 | pub enum MessageType {
[INFO] [stdout]   |          ----------- `MessageType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schemas/message.rs:25:35
[INFO] [stdout]    |
[INFO] [stdout] 25 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WechatAppMessageType`
[INFO] [stdout] 26 | #[repr(i32)]
[INFO] [stdout] 27 | pub enum WechatAppMessageType {
[INFO] [stdout]    |          -------------------- `WechatAppMessageType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]   --> src/schemas/message.rs:49:35
[INFO] [stdout]    |
[INFO] [stdout] 49 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]    |                                   ^------------
[INFO] [stdout]    |                                   |
[INFO] [stdout]    |                                   `FromPrimitive` is not local
[INFO] [stdout]    |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_WechatMessageType`
[INFO] [stdout] 50 | #[repr(i32)]
[INFO] [stdout] 51 | pub enum WechatMessageType {
[INFO] [stdout]    |          ----------------- `WechatMessageType` is not local
[INFO] [stdout]    |
[INFO] [stdout]    = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]    = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]    = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]    = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]    = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item
[INFO] [stdout]  --> src/schemas/payload.rs:3:35
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(Debug, Clone, PartialEq, FromPrimitive, Deserialize_repr, Serialize_repr)]
[INFO] [stdout]   |                                   ^------------
[INFO] [stdout]   |                                   |
[INFO] [stdout]   |                                   `FromPrimitive` is not local
[INFO] [stdout]   |                                   move the `impl` block outside of this constant `_IMPL_NUM_FromPrimitive_FOR_PayloadType`
[INFO] [stdout] 4 | #[repr(i32)]
[INFO] [stdout] 5 | pub enum PayloadType {
[INFO] [stdout]   |          ----------- `PayloadType` is not local
[INFO] [stdout]   |
[INFO] [stdout]   = note: the derive macro `FromPrimitive` defines the non-local `impl`, and may need to be changed
[INFO] [stdout]   = note: the derive macro `FromPrimitive` may come from an old version of the `num_derive` crate, try updating your dependency with `cargo update -p num_derive`
[INFO] [stdout]   = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl`
[INFO] [stdout]   = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint
[INFO] [stdout]   = note: this warning originates in the derive macro `FromPrimitive` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.64s
[INFO] running `Command { std: "docker" "inspect" "94fe6eb7fcc3eac0a849ba47fb00f5445d1ab661c70e707956c1aa52aa88352d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "94fe6eb7fcc3eac0a849ba47fb00f5445d1ab661c70e707956c1aa52aa88352d", kill_on_drop: false }`
[INFO] [stdout] 94fe6eb7fcc3eac0a849ba47fb00f5445d1ab661c70e707956c1aa52aa88352d
